package com.source.baseData.entity;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Joey
 * @since 2021-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ContentRowHeight(15)
@HeadRowHeight(25)
@ColumnWidth(25)
@ExcelIgnoreUnannotated
@ApiModel(value="PoultryCategoryParent对象", description="")
public class PoultryCategoryParent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "poultryCategoryParentId", type = IdType.ASSIGN_UUID)
    @ExcelProperty("ID")
    private String poultryCategoryParentId;

    @TableField("poultryParentName")
    @ExcelProperty("父级禽类名")
    private String poultryParentName;

    @ApiModelProperty(value = "0：代表没删除，1：代表逻辑删除")
    @TableField("isDelete")
    @TableLogic
    private Boolean isDelete;


    @TableField(value = "createDate",fill = FieldFill.INSERT)
    @ExcelProperty("创建时间")
    private Date createDate;


}
